aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cassettes/test_status_post[Content warning-direct].yaml')
-rw-r--r--tests/cassettes/test_status_post[Content warning-direct].yaml34
1 files changed, 18 insertions, 16 deletions
diff --git a/tests/cassettes/test_status_post[Content warning-direct].yaml b/tests/cassettes/test_status_post[Content warning-direct].yaml
index 804532b..09b7d36 100644
--- a/tests/cassettes/test_status_post[Content warning-direct].yaml
+++ b/tests/cassettes/test_status_post[Content warning-direct].yaml
@@ -12,15 +12,14 @@ interactions:
12 method: POST 12 method: POST
13 uri: http://localhost:3000/api/v1/statuses 13 uri: http://localhost:3000/api/v1/statuses
14 response: 14 response:
15 body: {string: '{"id":"101999517447767016","created_at":"2019-04-27T18:18:41.239Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":true,"spoiler_text":"Content 15 body: {string: '{"id":"102315368781184594","created_at":"2019-06-22T13:03:50.092Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":true,"spoiler_text":"Content
16 warning","visibility":"direct","language":"ja","uri":"http://localhost/users/mastodonpy_test/statuses/101999517447767016","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost/@mastodonpy_test/101999517447767016","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"reblog":null,"application":{"name":"Mastodon.py 16 warning","visibility":"direct","language":"ja","uri":"http://localhost/users/mastodonpy_test/statuses/102315368781184594","url":"http://localhost/@mastodonpy_test/102315368781184594","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"content":"\u003cp\u003eToot!\u003c/p\u003e","reblog":null,"application":{"name":"Mastodon.py
17 test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John 17 test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
18 Lennon","locked":true,"bot":false,"created_at":"2019-04-27T20:03:12.393Z","note":"\u003cp\u003eI 18 Lennon","locked":true,"bot":false,"created_at":"2019-06-22T14:46:28.567Z","note":"\u003cp\u003eI
19 walk funny\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1556389071","avatar_static":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1556389071","header":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1556389071","header_static":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1556389071","followers_count":0,"following_count":0,"statuses_count":62,"emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'} 19 walk funny\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561208564","avatar_static":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561208564","header":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561208564","header_static":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561208564","followers_count":0,"following_count":0,"statuses_count":0,"emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'}
20 headers: 20 headers:
21 Cache-Control: ['max-age=0, private, must-revalidate'] 21 Cache-Control: ['no-cache, no-store']
22 Content-Type: [application/json; charset=utf-8] 22 Content-Type: [application/json; charset=utf-8]
23 ETag: [W/"418313a3d3e609966cae1c80d169376a"]
24 Referrer-Policy: [strict-origin-when-cross-origin] 23 Referrer-Policy: [strict-origin-when-cross-origin]
25 Transfer-Encoding: [chunked] 24 Transfer-Encoding: [chunked]
26 Vary: ['Accept-Encoding, Origin'] 25 Vary: ['Accept-Encoding, Origin']
@@ -28,10 +27,10 @@ interactions:
28 X-Download-Options: [noopen] 27 X-Download-Options: [noopen]
29 X-Frame-Options: [SAMEORIGIN] 28 X-Frame-Options: [SAMEORIGIN]
30 X-Permitted-Cross-Domain-Policies: [none] 29 X-Permitted-Cross-Domain-Policies: [none]
31 X-Request-Id: [cad38a9a-0d6c-4e27-a598-84b82cc2994b] 30 X-Request-Id: [9c161f75-b3c3-43a6-ae42-5725a2edcb5b]
32 X-Runtime: ['0.172567'] 31 X-Runtime: ['0.130933']
33 X-XSS-Protection: [1; mode=block] 32 X-XSS-Protection: [1; mode=block]
34 content-length: ['1597'] 33 content-length: ['1596']
35 status: {code: 200, message: OK} 34 status: {code: 200, message: OK}
36- request: 35- request:
37 body: null 36 body: null
@@ -43,13 +42,16 @@ interactions:
43 Content-Length: ['0'] 42 Content-Length: ['0']
44 User-Agent: [python-requests/2.18.4] 43 User-Agent: [python-requests/2.18.4]
45 method: DELETE 44 method: DELETE
46 uri: http://localhost:3000/api/v1/statuses/101999517447767016 45 uri: http://localhost:3000/api/v1/statuses/102315368781184594
47 response: 46 response:
48 body: {string: '{}'} 47 body: {string: '{"id":"102315368781184594","created_at":"2019-06-22T13:03:50.092Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":true,"spoiler_text":"Content
48 warning","visibility":"direct","language":"ja","uri":"http://localhost/users/mastodonpy_test/statuses/102315368781184594","url":"http://localhost/@mastodonpy_test/102315368781184594","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"text":"Toot!","reblog":null,"application":{"name":"Mastodon.py
49 test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
50 Lennon","locked":true,"bot":false,"created_at":"2019-06-22T14:46:28.567Z","note":"\u003cp\u003eI
51 walk funny\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561208564","avatar_static":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561208564","header":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561208564","header_static":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561208564","followers_count":0,"following_count":0,"statuses_count":0,"emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'}
49 headers: 52 headers:
50 Cache-Control: ['max-age=0, private, must-revalidate'] 53 Cache-Control: ['no-cache, no-store']
51 Content-Type: [application/json; charset=utf-8] 54 Content-Type: [application/json; charset=utf-8]
52 ETag: [W/"a938512bc5dde87cbf4f41409207e918"]
53 Referrer-Policy: [strict-origin-when-cross-origin] 55 Referrer-Policy: [strict-origin-when-cross-origin]
54 Transfer-Encoding: [chunked] 56 Transfer-Encoding: [chunked]
55 Vary: ['Accept-Encoding, Origin'] 57 Vary: ['Accept-Encoding, Origin']
@@ -57,9 +59,9 @@ interactions:
57 X-Download-Options: [noopen] 59 X-Download-Options: [noopen]
58 X-Frame-Options: [SAMEORIGIN] 60 X-Frame-Options: [SAMEORIGIN]
59 X-Permitted-Cross-Domain-Policies: [none] 61 X-Permitted-Cross-Domain-Policies: [none]
60 X-Request-Id: [364fbfef-78f9-4052-84ff-a915c08b765c] 62 X-Request-Id: [ce1ff1a3-302f-4044-ba2a-6bbe5f8cb904]
61 X-Runtime: ['0.021707'] 63 X-Runtime: ['0.082524']
62 X-XSS-Protection: [1; mode=block] 64 X-XSS-Protection: [1; mode=block]
63 content-length: ['2'] 65 content-length: ['1566']
64 status: {code: 200, message: OK} 66 status: {code: 200, message: OK}
65version: 1 67version: 1
Powered by cgit v1.2.3 (git 2.41.0)